package com.amigo.online.provider.video.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Component;

import com.amigo.online.common.core.mybatis.MyMapper;
import com.amigo.online.provider.video.model.entity.PromoteOrder;

@Mapper
@Component
public interface PromoteOrderMapper extends MyMapper<PromoteOrder> {

    @Update("update promote_order_tbl set trade_status = #{trade_status}, trade_time = #{trade_time}, err_callback = #{err_callback}, transaction_id = #{transaction_id} "
            + " where id = #{id}")
    int updateOrderStatus(PromoteOrder updateOrder);

}
